![]() |
PATH![]() |
The USBNewInterfaceRef function performs the first step in opening an interface. The USBConfigureInterface function completes the process by setting up the interface for further communication.
The USBNewInterfaceRef function generates a new reference number that allows the interface in the specified device to be referred to. The interface reference can be used in most circumstances where a device reference can be used. An interface reference is required to be passed to the function USBExpertInstallInterfaceDriver .
OSStatus USBNewInterfaceRef(USBPB *pb);
Required fields in the USBPB parameter block for the USBNewInterfaceRef function are
If you create an interface reference, the interface reference must be disposed of in the driver finalize routine.
Errors returned by the USBNewInterfaceRef function include
Previous | Back Up One Level | Next |